package cn.tedu.spring.scope;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

/**
 * Scope注解：作用域的注解，未来工程默认的单例模式;
 * 单例模式[默认]：singleton
 * 多例模式：prototype
 */
@Component
@Scope(value = "singleton") //singleton单例
public class Order {

}
